# $Id: urls.py 25 2008-07-09 06:55:20Z fred1982 $
#

from django.conf.urls.defaults import *

urlpatterns = patterns(
    '',
    (r'^$', 'weblog.blog.index'),
    (r'^sitemap.xml$', 'weblog.blog.sitemap'),
    (r'^weblog/feed/?$', 'weblog.blog.logfeed'),
    (r'^weblog/comments/feed/?$', 'weblog.blog.commentsfeed'),
    (r'^weblog/?$', 'weblog.blog.index'),
    (r'^weblog/entry/(\d+)/edit$', 'weblog.blog.edit'),
    (r'^weblog/entry/(\d+)/?$', 'weblog.blog.view'),
    (r'^weblog/new$', 'weblog.blog.new'),
    (r'^.+/?$', 'weblog.blog.view'),
 )
